{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\JCR RR\5JAN2015-Final Files\JCR Relpication Logs.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res} 5 Jan 2015, 09:55:10

{com}. do "C:\Users\MJOSHI~1.DSS\AppData\Local\Temp\STD03000000.tmp"
{txt}
{com}. 
. //Replicate Table 1: Descriptive Statistics
. sum high_accomodation  high_demob post_accord elections_Accomodation dead_1000 sig_minor_war accomo_prov  post_accord demob_impl war_dur constrain5_7 peacekeeping  earlier_CPA infant_rate gdppcap_PPPINT_1000 armed_personnel conflict_type  net_aid_tensmil if exclude_cases==0 & year_count!=0

{txt}    Variable {c |}       Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 56}
high_accom~n {c |}{res}       314    .7101911    .4543977          0          1
{txt}{space 2}high_demob {c |}{res}       314    .3280255    .4702435          0          1
{txt}post_accor~s {c |}{res}       314    .0987261    .2987701          0          1
{txt}elections_~n {c |}{res}       314    .5318471    .4997812          0          1
{txt}{space 1}dead_100000 {c |}{res}       314    1.907784    4.767848     .00025         23
{txt}{hline 13}{c +}{hline 56}
sig_minor_~r {c |}{res}       314    .0573248    .2328333          0          1
{txt}{space 1}accomo_prov {c |}{res}       314    1.640127    .9497509          0          3
{txt}post_accor~s {c |}{res}       314    .0987261    .2987701          0          1
{txt}demob_implem {c |}{res}       314    1.436306    1.290449          0          3
{txt}war_dur_mo~s {c |}{res}       314    135.9172    132.6862          6        433
{txt}{hline 13}{c +}{hline 56}
constrain5_7 {c |}{res}       314     .544586     .498803          0          1
{txt}peacekeeping {c |}{res}       314    .3343949    .4725315          0          1
{txt}{space 1}earlier_CPA {c |}{res}       314    .0955414    .2944305          0          1
{txt}{space 1}infant_rate {c |}{res}       307    66.00261    39.31291        4.9      148.1
{txt}gdppcap~1000 {c |}{res}       304    3.577618    5.500094    .284138    35.8769
{txt}{hline 13}{c +}{hline 56}
armed_p~1000 {c |}{res}       300    162.7738    390.9066          2       2400
{txt}conflict_t~e {c |}{res}       314    .4585987    .4990783          0          1
{txt}net_aid_te~l {c |}{res}       297    56.03769    53.88383        3.2        260
{txt}
{com}. 
. //Replicate Table 2
. 
. //Survival st Set for analysis
. stset year_count, id(caseid) failure( sig_minor_war) origin(time year_count)

                {txt}id:  {res}caseid
     {txt}failure event:  {res}sig_minor_war != 0 & sig_minor_war < .
{txt}obs. time interval:  {res}(year_count[_n-1], year_count]
{txt} exit on or before:  {res}failure
    {txt}t for analysis:  {res}(time-origin)
            {txt}origin:  {res}time year_count

{txt}{hline 78}
{res}      340{txt}  total obs.
{res}       34{txt}  obs. end on or before enter()
{res}       70{txt}  obs. begin on or after (first) failure
{hline 78}
{res}      236{txt}  obs. remaining, representing
{res}       34{txt}  subjects
{res}       10{txt}  failures in single failure-per-subject data
{res}      236{txt}  total analysis time at risk, at risk from t = {res}        0
                             {txt}earliest observed entry t = {res}        0
                                  {txt}last observed exit t = {res}        9
{txt}
{com}. 
. 
. 
. //Model 1
. streg high_accomodation  dead_1000 earlier_CPA  war_dur  accomo_prov constrain5_7 peacekeeping conflict_type gdppcap_PPPINT_1000 if  exclude_cases==0 & year_count!=0, cluster (cowcode) d(w) time

         {txt}failure _d:  {res}sig_minor_war
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Fitting constant-only model:

Iteration 0:   log pseudolikelihood = {res} -33.54971
{txt}Iteration 1:   log pseudolikelihood = {res}-32.600547
{txt}Iteration 2:   log pseudolikelihood = {res}-32.564038
{txt}Iteration 3:   log pseudolikelihood = {res}-32.563985
{txt}Iteration 4:   log pseudolikelihood = {res}-32.563985

{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-32.563985}  
Iteration 1:{space 3}log pseudolikelihood = {res:-24.407802}  
Iteration 2:{space 3}log pseudolikelihood = {res:-21.279619}  
Iteration 3:{space 3}log pseudolikelihood = {res:-18.620322}  
Iteration 4:{space 3}log pseudolikelihood = {res:-17.863774}  
Iteration 5:{space 3}log pseudolikelihood = {res:-17.821729}  
Iteration 6:{space 3}log pseudolikelihood = {res:-17.821581}  
Iteration 7:{space 3}log pseudolikelihood = {res:-17.821581}  
{res}
{txt}Weibull regression -- accelerated failure-time form 

No. of subjects      = {res}          33                {txt}Number of obs   ={res}       217
{txt}No. of failures      = {res}           9
{txt}Time at risk         = {res}         217
                                                   {txt}Wald chi2({res}9{txt})    ={res}    138.85
{txt}Log pseudolikelihood =   {res}-17.821581                {txt}Prob > chi2     ={res}    0.0000

{txt}{ralign 85:(Std. Err. adjusted for {res:29} clusters in cowcode)}
{hline 20}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 21}{c |}{col 33}    Robust
{col 1}                 _t{col 21}{c |}      Coef.{col 33}   Std. Err.{col 45}      z{col 53}   P>|z|{col 61}     [95% Con{col 74}f. Interval]
{hline 20}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 2}high_accomodation {c |}{col 21}{res}{space 2} 1.929974{col 33}{space 2} .5855615{col 44}{space 1}    3.30{col 53}{space 3}0.001{col 61}{space 4} .7822946{col 74}{space 3} 3.077654
{txt}{space 8}dead_100000 {c |}{col 21}{res}{space 2} .1294558{col 33}{space 2} .0669743{col 44}{space 1}    1.93{col 53}{space 3}0.053{col 61}{space 4}-.0018114{col 74}{space 3}  .260723
{txt}{space 8}earlier_CPA {c |}{col 21}{res}{space 2} -.974713{col 33}{space 2} 1.083408{col 44}{space 1}   -0.90{col 53}{space 3}0.368{col 61}{space 4}-3.098153{col 74}{space 3} 1.148727
{txt}{space 5}war_dur_months {c |}{col 21}{res}{space 2}-.0032404{col 33}{space 2} .0021899{col 44}{space 1}   -1.48{col 53}{space 3}0.139{col 61}{space 4}-.0075326{col 74}{space 3} .0010517
{txt}{space 8}accomo_prov {c |}{col 21}{res}{space 2}-.1906866{col 33}{space 2} .4370503{col 44}{space 1}   -0.44{col 53}{space 3}0.663{col 61}{space 4}-1.047289{col 74}{space 3} .6659161
{txt}{space 7}constrain5_7 {c |}{col 21}{res}{space 2} 1.383258{col 33}{space 2}  .534894{col 44}{space 1}    2.59{col 53}{space 3}0.010{col 61}{space 4} .3348852{col 74}{space 3} 2.431631
{txt}{space 7}peacekeeping {c |}{col 21}{res}{space 2}  .040605{col 33}{space 2} .3339796{col 44}{space 1}    0.12{col 53}{space 3}0.903{col 61}{space 4}-.6139829{col 74}{space 3} .6951929
{txt}{space 6}conflict_type {c |}{col 21}{res}{space 2} .6927777{col 33}{space 2} .8624215{col 44}{space 1}    0.80{col 53}{space 3}0.422{col 61}{space 4}-.9975374{col 74}{space 3} 2.383093
{txt}gdppcap_PPPINT_1000 {c |}{col 21}{res}{space 2} .3704103{col 33}{space 2} .1420973{col 44}{space 1}    2.61{col 53}{space 3}0.009{col 61}{space 4} .0919046{col 74}{space 3} .6489159
{txt}{space 14}_cons {c |}{col 21}{res}{space 2} .3999999{col 33}{space 2} 1.301134{col 44}{space 1}    0.31{col 53}{space 3}0.759{col 61}{space 4}-2.150175{col 74}{space 3} 2.950175
{txt}{hline 20}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
              /ln_p {c |}{col 21}{res}{space 2} .6134919{col 33}{space 2} .3352337{col 44}{space 1}    1.83{col 53}{space 3}0.067{col 61}{space 4} -.043554{col 74}{space 3} 1.270538
{txt}{hline 20}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                  p{col 21}{c |}{res}{space 2} 1.846869{col 33}{space 2} .6191328{col 61}{space 4} .9573808{col 74}{space 3} 3.562768
{col 1}{txt}                1/p{col 21}{c |}{res}{space 2} .5414568{col 33}{space 2} .1815146{col 61}{space 4} .2806806{col 74}{space 3} 1.044516
{txt}{hline 20}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. //Model 2
. streg   high_accomodation  post_accord high_demob  dead_1000  war_dur constrain5_7 peacekeeping conflict_type infant_rate net_aid_tensmil armed_personnel1000 if  exclude_cases==0 & year_count!=0, cluster (cowcode) d(w) time

         {txt}failure _d:  {res}sig_minor_war
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Fitting constant-only model:

Iteration 0:   log pseudolikelihood = {res}-36.061004
{txt}Iteration 1:   log pseudolikelihood = {res}-34.846822
{txt}Iteration 2:   log pseudolikelihood = {res}-34.794124
{txt}Iteration 3:   log pseudolikelihood = {res}-34.794027
{txt}Iteration 4:   log pseudolikelihood = {res}-34.794027

{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-34.794027}  
Iteration 1:{space 3}log pseudolikelihood = {res:-24.406084}  
Iteration 2:{space 3}log pseudolikelihood = {res:-19.590808}  
Iteration 3:{space 3}log pseudolikelihood = {res: -17.06531}  
Iteration 4:{space 3}log pseudolikelihood = {res:-16.530042}  
Iteration 5:{space 3}log pseudolikelihood = {res:-16.420775}  
Iteration 6:{space 3}log pseudolikelihood = {res:-16.391532}  
Iteration 7:{space 3}log pseudolikelihood = {res:-16.391138}  
Iteration 8:{space 3}log pseudolikelihood = {res:-16.391138}  
{res}
{txt}Weibull regression -- accelerated failure-time form 

No. of subjects      = {res}          33                {txt}Number of obs   ={res}       204
{txt}No. of failures      = {res}          10
{txt}Time at risk         = {res}         204
                                                   {txt}Wald chi2({res}11{txt})   ={res}    235.17
{txt}Log pseudolikelihood =   {res}-16.391138                {txt}Prob > chi2     ={res}    0.0000

{txt}{ralign 86:(Std. Err. adjusted for {res:29} clusters in cowcode)}
{hline 21}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 22}{c |}{col 34}    Robust
{col 1}                  _t{col 22}{c |}      Coef.{col 34}   Std. Err.{col 46}      z{col 54}   P>|z|{col 62}     [95% Con{col 75}f. Interval]
{hline 21}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}high_accomodation {c |}{col 22}{res}{space 2} 1.254089{col 34}{space 2} .5019686{col 45}{space 1}    2.50{col 54}{space 3}0.012{col 62}{space 4} .2702482{col 75}{space 3} 2.237929
{txt}post_accordelections {c |}{col 22}{res}{space 2}-.9438874{col 34}{space 2} .2704618{col 45}{space 1}   -3.49{col 54}{space 3}0.000{col 62}{space 4}-1.473983{col 75}{space 3}-.4137919
{txt}{space 10}high_demob {c |}{col 22}{res}{space 2} 1.556557{col 34}{space 2} .4986978{col 45}{space 1}    3.12{col 54}{space 3}0.002{col 62}{space 4} .5791271{col 75}{space 3} 2.533987
{txt}{space 9}dead_100000 {c |}{col 22}{res}{space 2}-.0581062{col 34}{space 2} .0605101{col 45}{space 1}   -0.96{col 54}{space 3}0.337{col 62}{space 4}-.1767038{col 75}{space 3} .0604913
{txt}{space 6}war_dur_months {c |}{col 22}{res}{space 2}-.0010945{col 34}{space 2} .0020641{col 45}{space 1}   -0.53{col 54}{space 3}0.596{col 62}{space 4}-.0051402{col 75}{space 3} .0029511
{txt}{space 8}constrain5_7 {c |}{col 22}{res}{space 2} .5675483{col 34}{space 2} .2498933{col 45}{space 1}    2.27{col 54}{space 3}0.023{col 62}{space 4} .0777663{col 75}{space 3}  1.05733
{txt}{space 8}peacekeeping {c |}{col 22}{res}{space 2}  .129888{col 34}{space 2} .5702956{col 45}{space 1}    0.23{col 54}{space 3}0.820{col 62}{space 4}-.9878708{col 75}{space 3} 1.247647
{txt}{space 7}conflict_type {c |}{col 22}{res}{space 2} .8903461{col 34}{space 2} .4075584{col 45}{space 1}    2.18{col 54}{space 3}0.029{col 62}{space 4} .0915464{col 75}{space 3} 1.689146
{txt}{space 9}infant_rate {c |}{col 22}{res}{space 2}-.0107516{col 34}{space 2}   .00378{col 45}{space 1}   -2.84{col 54}{space 3}0.004{col 62}{space 4}-.0181602{col 75}{space 3} -.003343
{txt}{space 5}net_aid_tensmil {c |}{col 22}{res}{space 2} .0037266{col 34}{space 2} .0052067{col 45}{space 1}    0.72{col 54}{space 3}0.474{col 62}{space 4}-.0064784{col 75}{space 3} .0139316
{txt}{space 1}armed_personnel1000 {c |}{col 22}{res}{space 2} .0021135{col 34}{space 2} .0025722{col 45}{space 1}    0.82{col 54}{space 3}0.411{col 62}{space 4}-.0029279{col 75}{space 3}  .007155
{txt}{space 15}_cons {c |}{col 22}{res}{space 2} 1.357448{col 34}{space 2} .6773087{col 45}{space 1}    2.00{col 54}{space 3}0.045{col 62}{space 4} .0299474{col 75}{space 3} 2.684949
{txt}{hline 21}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
               /ln_p {c |}{col 22}{res}{space 2} .9729614{col 34}{space 2} .1979729{col 45}{space 1}    4.91{col 54}{space 3}0.000{col 62}{space 4} .5849417{col 75}{space 3} 1.360981
{txt}{hline 21}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                   p{col 22}{c |}{res}{space 2} 2.645768{col 34}{space 2} .5237903{col 62}{space 4} 1.794886{col 75}{space 3} 3.900018
{col 1}{txt}                 1/p{col 22}{c |}{res}{space 2} .3779621{col 34}{space 2} .0748262{col 62}{space 4} .2564091{col 75}{space 3} .5571383
{txt}{hline 21}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. //Model 3
. streg  high_accomodation  high_demob post_accord elections_Accomodation dead_1000  war_dur   constrain5_7 peacekeeping conflict_type  if  exclude_cases==0 & year_count!=0, cluster (cowcode) d(w) time 

         {txt}failure _d:  {res}sig_minor_war
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Fitting constant-only model:

Iteration 0:   log pseudolikelihood = {res}-37.040809
{txt}Iteration 1:   log pseudolikelihood = {res}-35.789805
{txt}Iteration 2:   log pseudolikelihood = {res}-35.731554
{txt}Iteration 3:   log pseudolikelihood = {res}-35.731434
{txt}Iteration 4:   log pseudolikelihood = {res}-35.731434

{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-35.731434}  
Iteration 1:{space 3}log pseudolikelihood = {res:-31.259219}  
Iteration 2:{space 3}log pseudolikelihood = {res:-24.409762}  
Iteration 3:{space 3}log pseudolikelihood = {res:  -20.1891}  
Iteration 4:{space 3}log pseudolikelihood = {res:-19.938026}  
Iteration 5:{space 3}log pseudolikelihood = {res:-19.930053}  
Iteration 6:{space 3}log pseudolikelihood = {res:-19.930041}  
Iteration 7:{space 3}log pseudolikelihood = {res:-19.930041}  
{res}
{txt}Weibull regression -- accelerated failure-time form 

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       225
{txt}No. of failures      = {res}          10
{txt}Time at risk         = {res}         225
                                                   {txt}Wald chi2({res}9{txt})    ={res}    121.64
{txt}Log pseudolikelihood =   {res}-19.930041                {txt}Prob > chi2     ={res}    0.0000

{txt}{ralign 88:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                    _t{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      z{col 56}   P>|z|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}high_accomodation {c |}{col 24}{res}{space 2}  .904098{col 36}{space 2} .3738365{col 47}{space 1}    2.42{col 56}{space 3}0.016{col 64}{space 4}  .171392{col 77}{space 3} 1.636804
{txt}{space 12}high_demob {c |}{col 24}{res}{space 2} 1.606589{col 36}{space 2} .5335218{col 47}{space 1}    3.01{col 56}{space 3}0.003{col 64}{space 4}  .560906{col 77}{space 3} 2.652273
{txt}{space 2}post_accordelections {c |}{col 24}{res}{space 2}-1.036582{col 36}{space 2} .4081964{col 47}{space 1}   -2.54{col 56}{space 3}0.011{col 64}{space 4}-1.836632{col 77}{space 3}-.2365312
{txt}elections_Accomodation {c |}{col 24}{res}{space 2}  1.18722{col 36}{space 2} .4230958{col 47}{space 1}    2.81{col 56}{space 3}0.005{col 64}{space 4} .3579679{col 77}{space 3} 2.016473
{txt}{space 11}dead_100000 {c |}{col 24}{res}{space 2}-.0659097{col 36}{space 2} .0430338{col 47}{space 1}   -1.53{col 56}{space 3}0.126{col 64}{space 4}-.1502544{col 77}{space 3}  .018435
{txt}{space 8}war_dur_months {c |}{col 24}{res}{space 2} .0008562{col 36}{space 2} .0027434{col 47}{space 1}    0.31{col 56}{space 3}0.755{col 64}{space 4}-.0045207{col 77}{space 3} .0062332
{txt}{space 10}constrain5_7 {c |}{col 24}{res}{space 2} .7452249{col 36}{space 2} .3457331{col 47}{space 1}    2.16{col 56}{space 3}0.031{col 64}{space 4} .0676005{col 77}{space 3} 1.422849
{txt}{space 10}peacekeeping {c |}{col 24}{res}{space 2} .3030951{col 36}{space 2} .3220301{col 47}{space 1}    0.94{col 56}{space 3}0.347{col 64}{space 4}-.3280723{col 77}{space 3} .9342625
{txt}{space 9}conflict_type {c |}{col 24}{res}{space 2} 1.784767{col 36}{space 2} .3920894{col 47}{space 1}    4.55{col 56}{space 3}0.000{col 64}{space 4} 1.016286{col 77}{space 3} 2.553248
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} .1444236{col 36}{space 2} .3283634{col 47}{space 1}    0.44{col 56}{space 3}0.660{col 64}{space 4}-.4991569{col 77}{space 3} .7880041
{txt}{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                 /ln_p {c |}{col 24}{res}{space 2} .7575036{col 36}{space 2} .3372715{col 47}{space 1}    2.25{col 56}{space 3}0.025{col 64}{space 4} .0964636{col 77}{space 3} 1.418544
{txt}{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                     p{col 24}{c |}{res}{space 2} 2.132945{col 36}{space 2} .7193815{col 64}{space 4} 1.101269{col 77}{space 3} 4.131099
{col 1}{txt}                   1/p{col 24}{c |}{res}{space 2} .4688354{col 36}{space 2} .1581248{col 64}{space 4} .2420663{col 77}{space 3}  .908043
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. //Model 4
. streg  high_accomodation  high_demob post_accord elections_Accomodation dead_1000  war_dur armed_personnel1000 constrain5_7 peacekeeping conflict_type  if  exclude_cases==0 & year_count!=0, cluster (cowcode) d(w) time 

         {txt}failure _d:  {res}sig_minor_war
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Fitting constant-only model:

Iteration 0:   log pseudolikelihood = {res}-36.492726
{txt}Iteration 1:   log pseudolikelihood = {res}-35.253304
{txt}Iteration 2:   log pseudolikelihood = {res}-35.197443
{txt}Iteration 3:   log pseudolikelihood = {res}-35.197332
{txt}Iteration 4:   log pseudolikelihood = {res}-35.197332

{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-35.197332}  
Iteration 1:{space 3}log pseudolikelihood = {res:-29.284229}  
Iteration 2:{space 3}log pseudolikelihood = {res:-27.573716}  
Iteration 3:{space 3}log pseudolikelihood = {res:-20.564879}  
Iteration 4:{space 3}log pseudolikelihood = {res:-18.505416}  
Iteration 5:{space 3}log pseudolikelihood = {res:-18.156223}  
Iteration 6:{space 3}log pseudolikelihood = {res:-18.110441}  
Iteration 7:{space 3}log pseudolikelihood = {res:-18.109874}  
Iteration 8:{space 3}log pseudolikelihood = {res:-18.109874}  
{res}
{txt}Weibull regression -- accelerated failure-time form 

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       213
{txt}No. of failures      = {res}          10
{txt}Time at risk         = {res}         213
                                                   {txt}Wald chi2({res}10{txt})   ={res}    336.66
{txt}Log pseudolikelihood =   {res}-18.109874                {txt}Prob > chi2     ={res}    0.0000

{txt}{ralign 88:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                    _t{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      z{col 56}   P>|z|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}high_accomodation {c |}{col 24}{res}{space 2} .8366839{col 36}{space 2} .3689918{col 47}{space 1}    2.27{col 56}{space 3}0.023{col 64}{space 4} .1134733{col 77}{space 3} 1.559894
{txt}{space 12}high_demob {c |}{col 24}{res}{space 2}  1.54815{col 36}{space 2} .5436194{col 47}{space 1}    2.85{col 56}{space 3}0.004{col 64}{space 4} .4826752{col 77}{space 3} 2.613624
{txt}{space 2}post_accordelections {c |}{col 24}{res}{space 2}-1.017731{col 36}{space 2} .3890591{col 47}{space 1}   -2.62{col 56}{space 3}0.009{col 64}{space 4}-1.780272{col 77}{space 3}-.2551888
{txt}elections_Accomodation {c |}{col 24}{res}{space 2} 1.196998{col 36}{space 2} .4475396{col 47}{space 1}    2.67{col 56}{space 3}0.007{col 64}{space 4} .3198364{col 77}{space 3} 2.074159
{txt}{space 11}dead_100000 {c |}{col 24}{res}{space 2}-.0541185{col 36}{space 2} .0495375{col 47}{space 1}   -1.09{col 56}{space 3}0.275{col 64}{space 4}-.1512102{col 77}{space 3} .0429732
{txt}{space 8}war_dur_months {c |}{col 24}{res}{space 2}-.0006044{col 36}{space 2} .0029993{col 47}{space 1}   -0.20{col 56}{space 3}0.840{col 64}{space 4}-.0064829{col 77}{space 3} .0052741
{txt}{space 3}armed_personnel1000 {c |}{col 24}{res}{space 2} .0044669{col 36}{space 2} .0040789{col 47}{space 1}    1.10{col 56}{space 3}0.273{col 64}{space 4}-.0035276{col 77}{space 3} .0124614
{txt}{space 10}constrain5_7 {c |}{col 24}{res}{space 2} .6342708{col 36}{space 2} .2972434{col 47}{space 1}    2.13{col 56}{space 3}0.033{col 64}{space 4} .0516844{col 77}{space 3} 1.216857
{txt}{space 10}peacekeeping {c |}{col 24}{res}{space 2} .0439008{col 36}{space 2}  .381453{col 47}{space 1}    0.12{col 56}{space 3}0.908{col 64}{space 4}-.7037334{col 77}{space 3} .7915349
{txt}{space 9}conflict_type {c |}{col 24}{res}{space 2} 1.526939{col 36}{space 2}  .552281{col 47}{space 1}    2.76{col 56}{space 3}0.006{col 64}{space 4} .4444885{col 77}{space 3}  2.60939
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} .1732985{col 36}{space 2} .3417976{col 47}{space 1}    0.51{col 56}{space 3}0.612{col 64}{space 4}-.4966124{col 77}{space 3} .8432095
{txt}{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                 /ln_p {c |}{col 24}{res}{space 2} .8547441{col 36}{space 2} .3283238{col 47}{space 1}    2.60{col 56}{space 3}0.009{col 64}{space 4} .2112413{col 77}{space 3} 1.498247
{txt}{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                     p{col 24}{c |}{res}{space 2} 2.350773{col 36}{space 2} .7718145{col 64}{space 4}  1.23521{col 77}{space 3} 4.473839
{col 1}{txt}                   1/p{col 24}{c |}{res}{space 2}  .425392{col 36}{space 2} .1396663{col 64}{space 4} .2235217{col 77}{space 3} .8095787
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. //Model 5
. streg  high_accomodation  demob_impl post_accord elections_Accomodation dead_1000  war_dur   constrain5_7 peacekeeping conflict_type  if  exclude_cases==0 & year_count!=0, cluster (cowcode) d(w) time

         {txt}failure _d:  {res}sig_minor_war
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Fitting constant-only model:

Iteration 0:   log pseudolikelihood = {res}-37.040809
{txt}Iteration 1:   log pseudolikelihood = {res}-35.789805
{txt}Iteration 2:   log pseudolikelihood = {res}-35.731554
{txt}Iteration 3:   log pseudolikelihood = {res}-35.731434
{txt}Iteration 4:   log pseudolikelihood = {res}-35.731434

{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-35.731434}  
Iteration 1:{space 3}log pseudolikelihood = {res:-33.146984}  
Iteration 2:{space 3}log pseudolikelihood = {res:-22.620062}  
Iteration 3:{space 3}log pseudolikelihood = {res:-21.022392}  
Iteration 4:{space 3}log pseudolikelihood = {res:-20.975488}  
Iteration 5:{space 3}log pseudolikelihood = {res: -20.97538}  
Iteration 6:{space 3}log pseudolikelihood = {res: -20.97538}  
{res}
{txt}Weibull regression -- accelerated failure-time form 

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       225
{txt}No. of failures      = {res}          10
{txt}Time at risk         = {res}         225
                                                   {txt}Wald chi2({res}9{txt})    ={res}    206.21
{txt}Log pseudolikelihood =   {res} -20.97538                {txt}Prob > chi2     ={res}    0.0000

{txt}{ralign 88:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                    _t{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      z{col 56}   P>|z|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}high_accomodation {c |}{col 24}{res}{space 2} .8643359{col 36}{space 2} .5159736{col 47}{space 1}    1.68{col 56}{space 3}0.094{col 64}{space 4}-.1469539{col 77}{space 3} 1.875626
{txt}{space 10}demob_implem {c |}{col 24}{res}{space 2} .4538114{col 36}{space 2} .1772001{col 47}{space 1}    2.56{col 56}{space 3}0.010{col 64}{space 4} .1065055{col 77}{space 3} .8011172
{txt}{space 2}post_accordelections {c |}{col 24}{res}{space 2}-.8935562{col 36}{space 2} .4295322{col 47}{space 1}   -2.08{col 56}{space 3}0.037{col 64}{space 4}-1.735424{col 77}{space 3}-.0516885
{txt}elections_Accomodation {c |}{col 24}{res}{space 2} 1.269621{col 36}{space 2}  .454637{col 47}{space 1}    2.79{col 56}{space 3}0.005{col 64}{space 4}  .378549{col 77}{space 3} 2.160693
{txt}{space 11}dead_100000 {c |}{col 24}{res}{space 2}-.0702397{col 36}{space 2} .0472625{col 47}{space 1}   -1.49{col 56}{space 3}0.137{col 64}{space 4}-.1628724{col 77}{space 3} .0223931
{txt}{space 8}war_dur_months {c |}{col 24}{res}{space 2} .0008939{col 36}{space 2} .0028008{col 47}{space 1}    0.32{col 56}{space 3}0.750{col 64}{space 4}-.0045955{col 77}{space 3} .0063832
{txt}{space 10}constrain5_7 {c |}{col 24}{res}{space 2} .4887492{col 36}{space 2} .2669839{col 47}{space 1}    1.83{col 56}{space 3}0.067{col 64}{space 4}-.0345295{col 77}{space 3} 1.012028
{txt}{space 10}peacekeeping {c |}{col 24}{res}{space 2} .1446655{col 36}{space 2} .4083799{col 47}{space 1}    0.35{col 56}{space 3}0.723{col 64}{space 4}-.6557443{col 77}{space 3} .9450754
{txt}{space 9}conflict_type {c |}{col 24}{res}{space 2} 2.078356{col 36}{space 2} .4984406{col 47}{space 1}    4.17{col 56}{space 3}0.000{col 64}{space 4}  1.10143{col 77}{space 3} 3.055281
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} .0767941{col 36}{space 2} .3613552{col 47}{space 1}    0.21{col 56}{space 3}0.832{col 64}{space 4}-.6314491{col 77}{space 3} .7850374
{txt}{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                 /ln_p {c |}{col 24}{res}{space 2} .6301302{col 36}{space 2}  .278919{col 47}{space 1}    2.26{col 56}{space 3}0.024{col 64}{space 4} .0834589{col 77}{space 3} 1.176801
{txt}{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                     p{col 24}{c |}{res}{space 2} 1.877855{col 36}{space 2} .5237695{col 64}{space 4} 1.087041{col 77}{space 3} 3.243981
{col 1}{txt}                   1/p{col 24}{c |}{res}{space 2} .5325225{col 36}{space 2} .1485307{col 64}{space 4} .3082632{col 77}{space 3} .9199289
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. 
. //Replicate Figure 1
. streg  high_accomodation  high_demob post_accord elections_Accomodation dead_1000  war_dur   constrain5_7 peacekeeping conflict_type  if  exclude_cases==0 & year_count!=0, cluster (cowcode) d(w) time 

         {txt}failure _d:  {res}sig_minor_war
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Fitting constant-only model:

Iteration 0:   log pseudolikelihood = {res}-37.040809
{txt}Iteration 1:   log pseudolikelihood = {res}-35.789805
{txt}Iteration 2:   log pseudolikelihood = {res}-35.731554
{txt}Iteration 3:   log pseudolikelihood = {res}-35.731434
{txt}Iteration 4:   log pseudolikelihood = {res}-35.731434

{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-35.731434}  
Iteration 1:{space 3}log pseudolikelihood = {res:-31.259219}  
Iteration 2:{space 3}log pseudolikelihood = {res:-24.409762}  
Iteration 3:{space 3}log pseudolikelihood = {res:  -20.1891}  
Iteration 4:{space 3}log pseudolikelihood = {res:-19.938026}  
Iteration 5:{space 3}log pseudolikelihood = {res:-19.930053}  
Iteration 6:{space 3}log pseudolikelihood = {res:-19.930041}  
Iteration 7:{space 3}log pseudolikelihood = {res:-19.930041}  
{res}
{txt}Weibull regression -- accelerated failure-time form 

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       225
{txt}No. of failures      = {res}          10
{txt}Time at risk         = {res}         225
                                                   {txt}Wald chi2({res}9{txt})    ={res}    121.64
{txt}Log pseudolikelihood =   {res}-19.930041                {txt}Prob > chi2     ={res}    0.0000

{txt}{ralign 88:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                    _t{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      z{col 56}   P>|z|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}high_accomodation {c |}{col 24}{res}{space 2}  .904098{col 36}{space 2} .3738365{col 47}{space 1}    2.42{col 56}{space 3}0.016{col 64}{space 4}  .171392{col 77}{space 3} 1.636804
{txt}{space 12}high_demob {c |}{col 24}{res}{space 2} 1.606589{col 36}{space 2} .5335218{col 47}{space 1}    3.01{col 56}{space 3}0.003{col 64}{space 4}  .560906{col 77}{space 3} 2.652273
{txt}{space 2}post_accordelections {c |}{col 24}{res}{space 2}-1.036582{col 36}{space 2} .4081964{col 47}{space 1}   -2.54{col 56}{space 3}0.011{col 64}{space 4}-1.836632{col 77}{space 3}-.2365312
{txt}elections_Accomodation {c |}{col 24}{res}{space 2}  1.18722{col 36}{space 2} .4230958{col 47}{space 1}    2.81{col 56}{space 3}0.005{col 64}{space 4} .3579679{col 77}{space 3} 2.016473
{txt}{space 11}dead_100000 {c |}{col 24}{res}{space 2}-.0659097{col 36}{space 2} .0430338{col 47}{space 1}   -1.53{col 56}{space 3}0.126{col 64}{space 4}-.1502544{col 77}{space 3}  .018435
{txt}{space 8}war_dur_months {c |}{col 24}{res}{space 2} .0008562{col 36}{space 2} .0027434{col 47}{space 1}    0.31{col 56}{space 3}0.755{col 64}{space 4}-.0045207{col 77}{space 3} .0062332
{txt}{space 10}constrain5_7 {c |}{col 24}{res}{space 2} .7452249{col 36}{space 2} .3457331{col 47}{space 1}    2.16{col 56}{space 3}0.031{col 64}{space 4} .0676005{col 77}{space 3} 1.422849
{txt}{space 10}peacekeeping {c |}{col 24}{res}{space 2} .3030951{col 36}{space 2} .3220301{col 47}{space 1}    0.94{col 56}{space 3}0.347{col 64}{space 4}-.3280723{col 77}{space 3} .9342625
{txt}{space 9}conflict_type {c |}{col 24}{res}{space 2} 1.784767{col 36}{space 2} .3920894{col 47}{space 1}    4.55{col 56}{space 3}0.000{col 64}{space 4} 1.016286{col 77}{space 3} 2.553248
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} .1444236{col 36}{space 2} .3283634{col 47}{space 1}    0.44{col 56}{space 3}0.660{col 64}{space 4}-.4991569{col 77}{space 3} .7880041
{txt}{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                 /ln_p {c |}{col 24}{res}{space 2} .7575036{col 36}{space 2} .3372715{col 47}{space 1}    2.25{col 56}{space 3}0.025{col 64}{space 4} .0964636{col 77}{space 3} 1.418544
{txt}{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                     p{col 24}{c |}{res}{space 2} 2.132945{col 36}{space 2} .7193815{col 64}{space 4} 1.101269{col 77}{space 3} 4.131099
{col 1}{txt}                   1/p{col 24}{c |}{res}{space 2} .4688354{col 36}{space 2} .1581248{col 64}{space 4} .2420663{col 77}{space 3}  .908043
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. stcurve, survival at1(post_accordelections =0 high_accomodation=0 elections_Accomodation = 0) at2(post_accordelections =1 high_accomodation=0 elections_Accomodation = 0) at3(post_accordelections =0 high_accomodation=1 elections_Accomodation = 0)at4(post_accordelections =1 high_accomodation=1 elections_Accomodation = 1)
{res}{txt}
{com}. 
. //Replicate lincom test based on Model 5
. streg  1.high_accomodation 0.high_accomodation demob_impl 1.post_accord 0.post_accord 1.elections_Accomodation 0.elections_Accomodation dead_1000  war_dur   constrain5_7 peacekeeping conflict_type  if  exclude_cases==0 & year_count!=0, cluster (cowcode) d(w) time

         {txt}failure _d:  {res}sig_minor_war
   {txt}analysis time _t:  {res}(year_count-origin)
             {txt}origin:  {res}time year_count
                 {txt}id:  {res}caseid

{txt}Fitting constant-only model:

Iteration 0:   log pseudolikelihood = {res}-37.040809
{txt}Iteration 1:   log pseudolikelihood = {res}-35.789805
{txt}Iteration 2:   log pseudolikelihood = {res}-35.731554
{txt}Iteration 3:   log pseudolikelihood = {res}-35.731434
{txt}Iteration 4:   log pseudolikelihood = {res}-35.731434

{txt}Fitting full model:
{res}
{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-35.731434}  
Iteration 1:{space 3}log pseudolikelihood = {res:-33.146984}  
Iteration 2:{space 3}log pseudolikelihood = {res:-22.620062}  
Iteration 3:{space 3}log pseudolikelihood = {res:-21.022392}  
Iteration 4:{space 3}log pseudolikelihood = {res:-20.975488}  
Iteration 5:{space 3}log pseudolikelihood = {res: -20.97538}  
Iteration 6:{space 3}log pseudolikelihood = {res: -20.97538}  
{res}
{txt}Weibull regression -- accelerated failure-time form 

No. of subjects      = {res}          34                {txt}Number of obs   ={res}       225
{txt}No. of failures      = {res}          10
{txt}Time at risk         = {res}         225
                                                   {txt}Wald chi2({res}9{txt})    ={res}    206.21
{txt}Log pseudolikelihood =   {res} -20.97538                {txt}Prob > chi2     ={res}    0.0000

{txt}{ralign 88:(Std. Err. adjusted for {res:30} clusters in cowcode)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                    _t{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      z{col 56}   P>|z|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 3}1.high_accomodation {c |}{col 24}{res}{space 2} .8643359{col 36}{space 2} .5159736{col 47}{space 1}    1.68{col 56}{space 3}0.094{col 64}{space 4}-.1469539{col 77}{space 3} 1.875626
{txt}{space 10}demob_implem {c |}{col 24}{res}{space 2} .4538114{col 36}{space 2} .1772001{col 47}{space 1}    2.56{col 56}{space 3}0.010{col 64}{space 4} .1065055{col 77}{space 3} .8011172
{txt}1.post_accordelections {c |}{col 24}{res}{space 2}-.8935562{col 36}{space 2} .4295322{col 47}{space 1}   -2.08{col 56}{space 3}0.037{col 64}{space 4}-1.735424{col 77}{space 3}-.0516885
{txt}1.elections_Accomoda~n {c |}{col 24}{res}{space 2} 1.269621{col 36}{space 2}  .454637{col 47}{space 1}    2.79{col 56}{space 3}0.005{col 64}{space 4}  .378549{col 77}{space 3} 2.160693
{txt}{space 11}dead_100000 {c |}{col 24}{res}{space 2}-.0702397{col 36}{space 2} .0472625{col 47}{space 1}   -1.49{col 56}{space 3}0.137{col 64}{space 4}-.1628724{col 77}{space 3} .0223931
{txt}{space 8}war_dur_months {c |}{col 24}{res}{space 2} .0008939{col 36}{space 2} .0028008{col 47}{space 1}    0.32{col 56}{space 3}0.750{col 64}{space 4}-.0045955{col 77}{space 3} .0063832
{txt}{space 10}constrain5_7 {c |}{col 24}{res}{space 2} .4887492{col 36}{space 2} .2669839{col 47}{space 1}    1.83{col 56}{space 3}0.067{col 64}{space 4}-.0345295{col 77}{space 3} 1.012028
{txt}{space 10}peacekeeping {c |}{col 24}{res}{space 2} .1446655{col 36}{space 2} .4083799{col 47}{space 1}    0.35{col 56}{space 3}0.723{col 64}{space 4}-.6557443{col 77}{space 3} .9450754
{txt}{space 9}conflict_type {c |}{col 24}{res}{space 2} 2.078356{col 36}{space 2} .4984406{col 47}{space 1}    4.17{col 56}{space 3}0.000{col 64}{space 4}  1.10143{col 77}{space 3} 3.055281
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} .0767941{col 36}{space 2} .3613552{col 47}{space 1}    0.21{col 56}{space 3}0.832{col 64}{space 4}-.6314491{col 77}{space 3} .7850374
{txt}{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
                 /ln_p {c |}{col 24}{res}{space 2} .6301302{col 36}{space 2}  .278919{col 47}{space 1}    2.26{col 56}{space 3}0.024{col 64}{space 4} .0834589{col 77}{space 3} 1.176801
{txt}{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}                     p{col 24}{c |}{res}{space 2} 1.877855{col 36}{space 2} .5237695{col 64}{space 4} 1.087041{col 77}{space 3} 3.243981
{col 1}{txt}                   1/p{col 24}{c |}{res}{space 2} .5325225{col 36}{space 2} .1485307{col 64}{space 4} .3082632{col 77}{space 3} .9199289
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. //test
. lincom (1.elections_Accomodation +1.post_accordelections + 1.high_accomodation) - 1.post_accordelections

{p 0 7}{space 1}{text:( 1)}{space 1} {res}[_t]1.high_accomodation + [_t]1.elections_Accomodation = 0{p_end}

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}          _t{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}(1) {c |}{col 14}{res}{space 2} 2.133957{col 26}{space 2} .4774299{col 37}{space 1}    4.47{col 46}{space 3}0.000{col 54}{space 4} 1.198212{col 67}{space 3} 3.069702
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
{txt}end of do-file

{com}. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\mjoshi2.DSS-OKIU3QJMAS9\Desktop\JCR RR\5JAN2015-Final Files\JCR Relpication Logs.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res} 5 Jan 2015, 09:55:34
{txt}{.-}
{smcl}
{txt}{sf}{ul off}